package com.feishi.project.webbase.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: caixq
 * Date: 2019-03-04
 * Time: 下午4:54
 */

@Entity
@Table(name = "student")
@Data

public class Student {
    @Id
    private String id;

    @Column(name = "name")
    private String name;
    @Column
    public String password;
    @Column
    public String code;
    @Column
    public String role;
}
